% Test `@LabelPowerset`

%%

clear classes
clc

%%

generate_dataset_iris

%%

lp = LabelPowerset();

%%

lp.build(ds.dmX.mat, ds.dmY.mat);

%%

[Y_hat, Y_out] = lp.apply(ds.dmX.mat, ds.dmY.mat);

%%

result = CommonMultiLabelMetric.calc(ds.dmY.mat, Y_hat, Y_out);
